package com.aboverock.module.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.aboverock.core.orm.domain.StringBaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 应用rest api key.
 *
 * @author Rock Wang
 */
@TableName("t_sys_app_key")
@ApiModel(value = "AppKey对象", description = "应用App key")
public class AppKey extends StringBaseEntity {

    @ApiModelProperty(value = "应用名称")
    private String name;

    @ApiModelProperty(value = "App key值")
    private String appKey;

    @ApiModelProperty(value = "App备注")
    private String remark;

    @ApiModelProperty(value = "App key是否启用")
    private Integer enabled;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    @Override
    public String toString() {
        return "AppKey{" +
                "name=" + name +
                ", appKey=" + appKey +
                ", remark=" + remark +
                ", enabled=" + enabled +
                "}";
    }
}
